package com.alfred.mall.order.api;

import com.alfred.mall.order.api.bo.CalcOrderPriceBO;
import com.alfred.mall.order.api.dto.CalcOrderPriceDTO;

public interface CardService {

    // ========== 购物车与订单相关的逻辑 ==========

    /**
     * 计算订单金额，返回计算结果
     *
     * @param calcOrderPriceDTO 计算订单金额 DTO
     * @return 计算订单金额结果
     */
    CalcOrderPriceBO calcOrderPrice(CalcOrderPriceDTO calcOrderPriceDTO);
}
